addressbook.htmlHTMLudogZËπùΔ¢πùΔ¢ÅÅ…• Monkeybread Realbasic plugin - Documentation - Addressbook

MBS Plugin Documentation

This is the documentation for the Realbasic Plugins from Monkeybreadsoftware.de. You find these plugins and the newest version of this document at http://www.monkeybreadsoftware.de/realbasic inside the plugins section.

This help was last updated on Freitag, 6. September 2002 and covers 2136 items: 126 classes, 2 controls and 583 global functions.

The list of the themes Global methods by category Global methods by name The list of the classes The list of the controls

ABLocalizeString(s as CFString) as CFString

global method, Addressbook Plugin version: 2.6 Mi, 28. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Returns a localized string for a given string.
Notes:
Requires Mac OS X 10.2.
Looks like Mac OS X 10.2 6C115 doesn't support other languages than english.

class Addressbook

class, Addressbook Di, 6. Aug 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Works. Windows: Does nothing.
Function: Access from Realbasic to the Addressbook framework in Mac OS X 10.2.
Notes:
Create this class if you want to access the global addressbook.
Requires Mac OS X 10.2.

AddGroup(group as ABGroup) as boolean

method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> false. Mac OS Carbon: Works. Windows: -> false.
Function: Adds a group to the addressbook.
Notes:
Returns true if successfull.
Requires Mac OS X 10.2.

AddPerson(person as ABPerson) as boolean

method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> false. Mac OS Carbon: Works. Windows: -> false.
Function: Adds a person to the addressbook.
Notes:
Returns true if successfull.
Requires Mac OS X 10.2.

AddProperties(record as CFString, properties as CFDictionary) as integer

method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> 0. Mac OS Carbon: Works. Windows: -> 0.
Function: Adds a property to the addressbook.
Notes:
Returns a value >0 if successfull. (not sure what meaning. Maybe how much properties were added)
Requires Mac OS X 10.2.
Warning: With the currrent version of Addressbook.Framework you can't not remove a property, as this function is not implemented.

AllGroups as ABGroupArray

method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Returns an array with all groups.
Notes: Requires Mac OS X 10.2.

AllPersons as ABPersonArray

method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Returns an array with all persons.
Notes: Requires Mac OS X 10.2.

Available as boolean

property, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> false. Mac OS Carbon: Works. Windows: -> false.
Function: Returns true if the Addressbook framework could be initialized.
Example:
dim a as addressbook

a=new addressbook
if a.available then
msgbox "Addressbook working."
else
msgbox "Get a copy of Mac OS X 10.2 please."
end if
Notes: Requires Mac OS X 10.2.

Group(UniqueID as CFString) as ABGroup

method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Returns the record with the given unique ID.
Notes:
Please don't mix IDs of persons with this function.
Requires Mac OS X 10.2.

HasUnsavedChanges as boolean

method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> false. Mac OS Carbon: Works. Windows: -> false.
Function: Are there unsaved changes?
Notes: Requires Mac OS X 10.2.

Owner as ABPerson

method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Returns the owner's person object.
Example: addressbook.owner=Christian // set it to me ;-)
Notes: Requires Mac OS X 10.2.

Person(UniqueID as CFString) as ABPerson

method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Returns the record with the given unique ID.
Notes:
Please don't mix IDs of groups with this function.
Requires Mac OS X 10.2.

RecordTypes(record as CFString) as "CFArray

method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> 0. Mac OS Carbon: Works. Windows: -> 0.
Function: Returns an array of the record types.
Notes: Requires Mac OS X 10.2.

RemoveGroup(group as ABGroup) as boolean

method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> false. Mac OS Carbon: Works. Windows: -> false.
Function: Removes a group to the addressbook.
Notes:
Returns true if successfull.
Requires Mac OS X 10.2.

RemovePerson(person as ABPerson) as boolean

method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> false. Mac OS Carbon: Works. Windows: -> false.
Function: Removes a person to the addressbook.
Notes:
Returns true if successfull.
Requires Mac OS X 10.2.

RemoveProperties(record as CFString,properties as CFArray) as integer

method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> 0. Mac OS Carbon: Works. Windows: -> 0.
Function: Removes a property to the addressbook.
Notes:
Removing properties is not supported in this first release of the addressbook framework.

Returns a value >0 if successfull. (not sure what meaning. Maybe how much properties were added)
Requires Mac OS X 10.2.
Warning: With the currrent version of Addressbook.Framework you can't not remove a property, as this function is not implemented.

Save as boolean

method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> false. Mac OS Carbon: Works. Windows: -> false.
Function: Saves the addressbook.
Notes:
Returns true if successfull.
Requires Mac OS X 10.2.

SearchGroup(search as ABSearch) as ABGroupArray

method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Searches for groups matching the search object.
Notes: Requires Mac OS X 10.2.

SearchPerson(search as ABSearch) as ABPersonArray

method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Searches for persons matching the search object.
Notes: Requires Mac OS X 10.2.

TypeOfProperty(record as CFString, property as CFString) as integer

method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> 0. Mac OS Carbon: Works. Windows: -> 0.
Function: Returns the type code of a property.
Example:
// list all properties of the person class inside listbox1

dim d as cfarray
dim i,c as integer
dim t as integer
dim s as cfstring
dim r as string
dim a as addressbook

a=new addressbook
listBox1.deleteAllRows
d=A.recordTypes(kabpersonRecordType)
c=d.count-1
for i=0 to c
s=d.item(i).cfstring
if s<>nil then
listBox1.addrow s.str
t=a.TypeOfProperty(kABPersonRecordType,s)
select case t
case 1
r="String"
case 2
r="Integer"
case 3
r="Real"
case 4
r="Date"
case 5
r="Array"
case 6
r="Dictionary"
case 7
r="Data"
case &h101
r="Multi-String"
case &h102
r="Multi-Integer"
case &h103
r="Multi-Real"
case &h104
r="Multi-Date"
case &h105
r="Multi-Array"
case &h106
r="Multi-Dictionary"
case &h107
r="Multi-Data"
else
r="?"
end select
listBox1.cell(listBox1.lastIndex,1)=r
end if
next
Notes: Requires Mac OS X 10.2.

ConjunctSearchesAND(searches() as ABSearch) as ABSearch

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Creates a new search object build from an array of several search objects.
Notes:
Requires Mac OS X 10.2.
The array may contain nil objects which will be ignored.

ConjunctSearchesOR(searches() as ABSearch) as ABSearch

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Creates a new search object build from an array of several search objects.
Notes:
Requires Mac OS X 10.2.
The array may contain nil objects which will be ignored.

CreateABGroup as ABGroup

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Creates a new person.
Notes: Requires Mac OS X 10.2.

CreateABPerson as ABPerson

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Creates a new person.
Notes: Requires Mac OS X 10.2.

CreateABPersonFromVCard(data as CFBinary) as ABPerson

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Creates a new person using the vcard inside the data.
Notes: Requires Mac OS X 10.2.

kABAddressCityKey as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: City.
Notes:
Works with person records.
Requires Mac OS X 10.2.

kABAddressCountryCodeKey as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Country Code.
Notes:
Works with person records.
Requires Mac OS X 10.2.

kABAddressCountryCodeKey code must be one of the following iso country codes:

at=Austria
au=Australia
be=Belgium
ca=Canada
ch=Switzerland
cn=China
de=Germany
dk=Denmark
es=Spain
fi=Finland
fr=France
gl=Greenland
ie=Ireland
il=Israel
id=Indonesia
is=Iceland
it=Italy
ja=Japan
kr=South Korea
lu=Luxembourg
mx=Mexico
nl=Netherlands
no=Norway
nz=New Zealand
pl=Poland
pt=Portugal
se=Sweden
sg=Singapore
tr=Turkey
tw=Taiwan
uk=United Kingdom
us=United States
za=South Africa

kABAddressCountryKey as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Country.
Notes:
Works with person records.
Requires Mac OS X 10.2.

kABAddressHomeLabel as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Home Address.
Notes:
Works with person records.
Requires Mac OS X 10.2.

kABAddressProperty as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Street Addresses (multi-dictionary).
Notes:
Works with person records.
Requires Mac OS X 10.2.

kABAddressStateKey as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: State.
Notes:
Works with person records.
Requires Mac OS X 10.2.

kABAddressStreetKey as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Street.
Notes:
Works with person records.
Requires Mac OS X 10.2.

kABAddressWorkLabel as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Work Address.
Notes:
Works with person records.
Requires Mac OS X 10.2.

kABAddressZIPKey as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Zip.
Notes:
Works with person records.
Requires Mac OS X 10.2.

kABAIMHomeLabel as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: AIM Instant Messaging at home.
Notes:
Works with person records.
Requires Mac OS X 10.2.

kABAIMInstantProperty as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: AIM Instant Messaging (multi-string).
Notes:
Works with person records.
Requires Mac OS X 10.2.

kABAIMWorkLabel as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: AIM Instant Messaging at work.
Notes:
Works with person records.
Requires Mac OS X 10.2.

kABBirthdayProperty as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Birth date (date).
Notes:
Works with person records.
Requires Mac OS X 10.2.

kABContainsSubString as integer

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> 7. Mac OS Carbon: Works. Windows: -> 7.
Function: Returns compare mode for containing a sub string.
Notes:
Value is currently 7.
Requires Mac OS X 10.2.

kABContainsSubStringCaseInsensitive as integer

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> 8. Mac OS Carbon: Works. Windows: -> 8.
Function: Returns compare mode for containing a sub string with case insensitive comparison.
Notes:
Value is currently 8.
Requires Mac OS X 10.2.

kABCreationDateProperty as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Creation Date (when first saved) (date)
Notes:
Works with group and person records.
Requires Mac OS X 10.2.

kABEmailHomeLabel as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Home email.
Notes:
Works with person records.
Requires Mac OS X 10.2.

kABEmailProperty as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Email(s) (multi-string).
Notes:
Works with person records.
Requires Mac OS X 10.2.

kABEmailWorkLabel as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Work email.
Notes:
Works with person records.
Requires Mac OS X 10.2.

kABEqual as integer

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> 0. Mac OS Carbon: Works. Windows: -> 0.
Function: Returns compare mode for not equal.
Notes:
Value is currently 0.
Requires Mac OS X 10.2.

kABEqualCaseInsensitive as integer

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> 6. Mac OS Carbon: Works. Windows: -> 6.
Function: Returns compare mode for equal with case insensitive comparison.
Notes:
Value is currently 6.
Requires Mac OS X 10.2.

kABFirstNamePhoneticProperty as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: First name Phonetic (string).
Notes:
Works with person records.
Requires Mac OS X 10.2.

kABFirstNameProperty as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: First name (string).
Notes:
Works with person records.
Requires Mac OS X 10.2.

kABGreaterThan as integer

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> 4. Mac OS Carbon: Works. Windows: -> 4.
Function: Returns compare mode for greater than.
Notes:
Value is currently 4.
Requires Mac OS X 10.2.

kABGreaterThanOrEqual as integer

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> 5. Mac OS Carbon: Works. Windows: -> 5.
Function: Returns compare mode for greater than or equal.
Notes:
Value is currently 5.
Requires Mac OS X 10.2.

kABGroupNameProperty as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Name of the group.
Notes:
Works with group records.
Requires Mac OS X 10.2.

kABGroupRecordType as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Type of a ABGroup.
Notes:
Currently not usefull with this plugin.
Requires Mac OS X 10.2.

kABHomeLabel as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: All kABXXXXHomeLabel are equivalent to this label.
Notes: Requires Mac OS X 10.2.

kABHomePageProperty as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Home Web page (string).
Notes:
Works with person records.
Requires Mac OS X 10.2.

kABICQHomeLabel as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: ICQ Instant Messaging at home.
Notes:
Works with person records.
Requires Mac OS X 10.2.

kABICQInstantProperty as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: ICQ Instant Messaging (multi-string).
Notes:
Works with person records.
Requires Mac OS X 10.2.

kABICQWorkLabel as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: ICQ Instant Messaging at work.
Notes:
Works with person records.
Requires Mac OS X 10.2.

kABJabberHomeLabel as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Jabber Instant Messaging at home.
Notes:
Works with person records.
Requires Mac OS X 10.2.

kABJabberInstantProperty as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Jabber Instant Messaging (multi-string).
Notes:
Works with person records.
Requires Mac OS X 10.2.

kABJabberWorkLabel as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Jabber Instant Messaging at work.
Notes:
Works with person records.
Requires Mac OS X 10.2.

kABJobTitleProperty as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Job Title (string).
Notes:
Works with person records.
Requires Mac OS X 10.2.

kABLastNamePhoneticProperty as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Last name Phonetic (string).
Notes:
Works with person records.
Requires Mac OS X 10.2.

kABLastNameProperty as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Last name (string).
Notes:
Works with person records.
Requires Mac OS X 10.2.

kABLessThan as integer

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> 2. Mac OS Carbon: Works. Windows: -> 2.
Function: Returns compare mode for less than.
Notes:
Value is currently 2.
Requires Mac OS X 10.2.

kABLessThanOrEqual as integer

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> 3. Mac OS Carbon: Works. Windows: -> 3.
Function: Returns compare mode for less than or equal.
Notes:
Value is currently 3.
Requires Mac OS X 10.2.

kABMaidenNameProperty as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Maiden name (string).
Notes:
Works with person records.
Requires Mac OS X 10.2. Currently not supported in the AddressBook application.

kABMiddleNamePhoneticProperty as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Middle name (string).
Notes:
Works with person records.
Requires Mac OS X 10.2. Currently not supported in the AddressBook application.

kABMiddleNameProperty as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Middle name (string).
Notes:
Works with person records.
Requires Mac OS X 10.2. Currently not supported in the AddressBook application.

kABModificationDateProperty as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Last saved date (date)
Notes:
Works with group and person records.
Requires Mac OS X 10.2.

kABMSNHomeLabel as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: MSN Instant Messaging at home.
Notes:
Works with person records.
Requires Mac OS X 10.2.

kABMSNInstantProperty as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: MSN Instant Messaging (multi-string).
Notes:
Works with person records.
Requires Mac OS X 10.2.

kABMSNWorkLabel as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: MSN Instant Messaging at work.
Notes:
Works with person records.
Requires Mac OS X 10.2.

kABNicknameProperty as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Nick name (string).
Notes:
Works with person records.
Requires Mac OS X 10.2. Currently not supported in the AddressBook application.

kABNoteProperty as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Note (string).
Notes:
Works with person records.
Requires Mac OS X 10.2.

kABNotEqual as integer

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> 1. Mac OS Carbon: Works. Windows: -> 1.
Function: Returns compare mode for not equal.
Notes:
Value is currently 1.
Requires Mac OS X 10.2.

kABOrganizationProperty as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Company name (string).
Notes:
Works with person records.
Requires Mac OS X 10.2.

kABOtherLabel as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Can be use with any Mutli-value property.
Notes: Requires Mac OS X 10.2.

kABPersonRecordType as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Type of a ABPerson.
Notes:
Currently not usefull with this plugin.
Requires Mac OS X 10.2.

kABPhoneHomeFAXLabel as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Home fax number.
Notes:
Works with person records.
Requires Mac OS X 10.2.

kABPhoneHomeLabel as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Home phone.
Notes:
Works with person records.
Requires Mac OS X 10.2.

kABPhoneMainLabel as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Main phone.
Notes:
Works with person records.
Requires Mac OS X 10.2.

kABPhoneMobileLabel as CFString

global method, Addressbook Mi, 28. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Cell phone.
Notes:
Works with person records.
Requires Mac OS X 10.2.

kABPhonePagerLabel as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Pager number.
Notes:
Works with person records.
Requires Mac OS X 10.2.

kABPhoneProperty as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Generic phone number (multi-string).
Notes:
Works with person records.
Requires Mac OS X 10.2.

kABPhoneWorkFAXLabel as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Work fax number.
Notes:
Works with person records.
Requires Mac OS X 10.2.

kABPhoneWorkLabel as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Work phone.
Notes:
Works with person records.
Requires Mac OS X 10.2.

kABPrefixMatch as integer

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> 9. Mac OS Carbon: Works. Windows: -> 9.
Function: Returns compare mode for same prefix string.
Notes:
Value is currently 9.
Requires Mac OS X 10.2.

kABPrefixMatchCaseInsensitive as integer

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> 10. Mac OS Carbon: Works. Windows: -> 10.
Function: Returns compare mode for same prefix string with case insensitive comparison.
Notes:
Value is currently 10.
Requires Mac OS X 10.2.

kABSuffixProperty as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: string. "Sr.", "Jr.", "III".
Notes:
Works with person records.
Requires Mac OS X 10.2. Currently not supported in the AddressBook application.

kABTitleProperty as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: string. e.g. "Sir", "Duke", "General", "Lord".
Notes:
Works with person records.
Requires Mac OS X 10.2. Currently not supported in the AddressBook application.

kABUIDProperty as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: The unique ID property.
Notes:
Works with group and person records.
Requires Mac OS X 10.2.

kABWorkLabel as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: All kABXXXXWorkLabel are equivalent to this label.
Notes: Requires Mac OS X 10.2.

kABYahooHomeLabel as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Yahoo Instant Messaging at home.
Notes:
Works with person records.
Requires Mac OS X 10.2.

kABYahooInstantProperty as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Yahoo Instant Messaging (multi-string).
Notes:
Works with person records.
Requires Mac OS X 10.2.

kABYahooWorkLabel as CFString

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Yahoo Instant Messaging at work.
Notes:
Works with person records.
Requires Mac OS X 10.2.

NewABMulti as ABMulti

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Creates a new ABMulti object.
Notes: Requires Mac OS X 10.2.

NewABMutableMulti as ABMutableMulti

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Creates a new ABMutableMulti object.
Notes: Requires Mac OS X 10.2.

NewGroupSearch(property as CFString,label as CFString,key as CFString,value as CFObject,searchmode as integer) as ABSearch

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Creates a new group search.
Notes:
You need a property.
If the property type is a Dictionary, you'll can give a key or if it's a ABMulti a label.
Requires Mac OS X 10.2.

This constants can be used for searchmode:
kABEqual
kABNotEqual
kABLessThan
kABLessThanOrEqual
kABGreaterThan
kABGreaterThanOrEqual
kABEqualCaseInsensitive
kABContainsSubString
kABContainsSubStringCaseInsensitive
kABPrefixMatch
kABPrefixMatchCaseInsensitive

NewPersonSearch(property as CFString,label as CFString,key as CFString,value as CFObject,searchmode as integer) as ABSearch

global method, Addressbook Di, 6. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: Works. Windows: -> nil.
Function: Creates a new person search.
Notes:
You need a property.
If the property type is a Dictionary, you'll can give a key or if it's a ABMulti a label.
Requires Mac OS X 10.2.

This constants can be used for searchmode:
kABEqual
kABNotEqual
kABLessThan
kABLessThanOrEqual
kABGreaterThan
kABGreaterThanOrEqual
kABEqualCaseInsensitive
kABContainsSubString
kABContainsSubStringCaseInsensitive
kABPrefixMatch
kABPrefixMatchCaseInsensitive

Contact

Written 2002 by Christian Schmitz. Feel free to ask or report mistakes to realbasic@macsw.de.
Thanks.

This resource fork intentionally left blank ˇˇ